/*
* 移库详情
* */

import 'package:flutter/material.dart';
import 'package:center_beijing/common/styles.dart';
import 'package:center_beijing/common/utils.dart';
import 'package:get/get.dart';
import 'dart:convert';
class MoveLibraryDetail extends StatefulWidget {

  @override
  _MoveLibraryDetailState createState() => _MoveLibraryDetailState();
}

class _MoveLibraryDetailState extends State<MoveLibraryDetail> {
  var currentDetail = json.decode(Get.arguments['operateContentDetail']);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('移库详情'),
      ),
      body: SafeArea(
        child: Container(
          child: SingleChildScrollView(
            child: Column(
              children: [
                Container(
                  padding: EdgeInsets.fromLTRB(Styles.spacing8, Styles.spacing8, Styles.spacing8, Styles.spacing8),
                  child: Text("原始仓库  ${currentDetail['outWarehouseName']}",style: TextStyle(color: Styles.DetailColor,fontSize: Styles.NormalFont),),
                ),
                Container(
                  padding: EdgeInsets.fromLTRB(Styles.spacing8, Styles.spacing8, Styles.spacing8, Styles.spacing8),
                  child: Text("原始库位  ${currentDetail['outStorageName']}",style: TextStyle(color: Styles.DetailColor,fontSize: Styles.NormalFont),),
                ),
                Container(
                  padding: EdgeInsets.fromLTRB(Styles.spacing8, Styles.spacing8, Styles.spacing8, Styles.spacing8),
                  child: Text("目标仓库  ${currentDetail['inWarehouseName']}",style: TextStyle(color: Styles.DetailColor,fontSize: Styles.NormalFont),),
                ),
                Container(
                  padding: EdgeInsets.fromLTRB(Styles.spacing8, Styles.spacing8, Styles.spacing8, Styles.spacing8),
                  child: Text("目标库位  ${currentDetail['inStorageName']}",style: TextStyle(color: Styles.DetailColor,fontSize: Styles.NormalFont),),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}
